css selector odd even|Iba pa : Baguio CSS.box:nth-child(odd) { background-color: #336699; } .box:nth-child(even) { background-color: #222; } Short explaination: We added another class to the boxes, . Senior High pinilit kantutin ng kaklase. 236 01:42. Pinilit kahit may unting aray. 109 12:17. Pinilit Ipasok Ngunit Masyadong Masikip. 398 01:10. Pinilit ang classmate na tirahin. 3478 34% 05:00. Kahit medyo malaki pinilit ni babae. 314 08:16. Pinilit Pagkasyahin Ang Tarugo ni Taguro. 99 01:35.

css selector odd even,Odd and even are keywords that can be used to match child elements whose index is odd or even (the index of the first child is 1). this is what you want: .
.